<?php
include "/connect.php";
$sql =mysql_query("
SELECT c_id,c_title,c_intro,c_tags,c_view
from  smm_news  where c_id=".$_GET[c_id]." ");
$rs=mysql_fetch_array($sql);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Description" content="<?php echo $rs[c_intro];?>" />
<meta name="KeyWords" content="<?php echo $rs[c_tags];?>">
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link href="http://www.smmonline.net/favicon.ico" rel="shortcut icon" type="image/x-icon" />

<title><?php echo $rs[c_title];?></title>

</head>
<body>
<div id="main_content">
<?php include "header.php";?>
<div id="content_woman_detail">

<div id="box_news_detail">

</div>

<div id="ad_"><!--/* Ad woman-middle 665*95  */-->
<script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'https://src.thaileagueonline.com/www/delivery/ajs.php':'http://src.thaileagueonline.com/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=32");
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://src.thaileagueonline.com/www/delivery/ck.php?n=a44dd0fd&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://src.thaileagueonline.com/www/delivery/avw.php?zoneid=32&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a44dd0fd' border='0' alt='' /></a></noscript>
</div>
<div id="article_other">
<div id="bg_article">
<span id="logo_note">
<img width="47" height="46" src="/images/note.png">
</span>
<span id="text_other">
<img width="159" height="33" src="/images/text_other.png">
</span>
</div>
<div id="box_article_other"></div>
<div id="box_top_month">
<span id="title_top"><img width="16" height="16" src="/images/star_icons08.gif">&nbsp;Top of Month</span>
<hr class="hrr">
</div>

</div>
</div>
<?php include "detail_right.php";?>
<?php include "footer.php";?>
</div>
<input type="hidden" id="check_id" value="<?php echo $_GET[c_id]; ?>">
<input type=  "hidden"  id="c_view" value="<?php echo $rs[c_view];?>">
<script type="text/javascript" src="/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="/js/js_data.js"></script>
<script type="text/javascript">
$(document).ready(function(){	
	top_nenw()
	var c_id =$('#check_id').val();
	var c_view =$('#c_view').val();
$.ajax({
		url: '../data/data_detail.php',
		type: 'POST',
		dataType: 'json',
		data :'act=news&c_id='+c_id+'&c_view='+c_view,
		success: function(data) {
		
		$('#box_news_detail').html(data["pro_title"]);
		$('#box_article_other').html(data["data_other"]);
		}
	});


});
</script>